package com.sk.sourcecircle.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by sk on 2017/12/18.
 */

public class CollectListBean {


    /**
     * code : 200
     * data : [{"favorite_id":1349,"favorite_type":2,"target_id":2,"create_time":"2018-01-02 10:55:20","data":{"article_id":2,"cate_id":0,"community_id":1,"title":"标题2","head_url":"https://appdev.qigle.com/shunfengche/upload/201709/150485098282936.jpg","content":"<p>传<\/p>","status":1,"label":"社群,活动111111111","show":0,"comment":0,"orders":2,"create_time":"1970-01-01 08:00:00","update_time":"1970-01-01 08:00:00","type":1}},{"favorite_id":1347,"favorite_type":1,"target_id":10,"create_time":"2017-12-30 01:27:18","data":{"activity_id":10,"name":"活动0","cate_id":11,"community_id":1,"lng_lat":"116.39780826866627,39.90516864340625","start_time":1509538620,"end_time":1509538620,"ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"<p>发生的典范大速度发大水发沙发大师傅<img src=\"/yuanquan/upload/image/20171101/1509514176.jpg\" title=\"1509514176.jpg\" alt=\"u=1671483460,1872560812&amp;fm=173&amp;s=1EB6C704CAB6F6DCD7AA9005030020E9&amp;w=440&amp;h=368&amp;img.jpg\"/>发送到的点点滴滴多多多多多多所发<\/p>","province_id":2,"city_id":37,"district_id":403,"address":"天安门观礼台国旗1","min_price":"250","orders":0,"type":0,"apply_end_time":1510143420,"create_time":"2017-11-01 15:27:01","update_time":"2017-11-01 15:27:01","province_name":"北京","city_name":"北京市","district_name":"东城区","start_name":"2017-11-01 20:17","end_name":"2017-11-01 20:17","apply_end_name":"2017-11-08 20:17"}},{"favorite_id":1346,"favorite_type":1,"target_id":3,"create_time":"2017-12-29 14:00:36","data":{"activity_id":3,"name":"活动3","cate_id":0,"community_id":1,"lng_lat":"116.39718599617481,39.90833718492366","start_time":1504518349,"end_time":1504518349,"ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"<p>发生的典范大速度发大水发沙发大师傅<img src=\"/yuanquan/upload/image/20171101/1509514176.jpg\" title=\"1509514176.jpg\" alt=\"u=1671483460,1872560812&amp;fm=173&amp;s=1EB6C704CAB6F6DCD7AA9005030020E9&amp;w=440&amp;h=368&amp;img.jpg\"/>发送到的点点滴滴多多多多多多所发<\/p>","province_id":2,"city_id":37,"district_id":403,"address":null,"min_price":"0","orders":0,"type":0,"apply_end_time":1510143420,"create_time":"2017-09-04 17:32:35","update_time":"2017-09-04 17:37:35","province_name":"北京","city_name":"北京市","district_name":"东城区","start_name":"2017-09-04 17:45","end_name":"2017-09-04 17:45","apply_end_name":"2017-11-08 20:17"}},{"favorite_id":1345,"favorite_type":1,"target_id":6,"create_time":"2017-12-29 13:35:51","data":{"activity_id":6,"name":"活动6","cate_id":11,"community_id":1,"lng_lat":"116.39718599617481,39.90833718492366","start_time":1504517555,"end_time":1504517555,"ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"<p>发生的典范大速度发大水发沙发大师傅<img src=\"/yuanquan/upload/image/20171101/1509514176.jpg\" title=\"1509514176.jpg\" alt=\"u=1671483460,1872560812&amp;fm=173&amp;s=1EB6C704CAB6F6DCD7AA9005030020E9&amp;w=440&amp;h=368&amp;img.jpg\"/>发送到的点点滴滴多多多多多多所发<\/p>","province_id":2,"city_id":37,"district_id":403,"address":"天安门观礼台","min_price":"200","orders":0,"type":0,"apply_end_time":1510143420,"create_time":"2017-11-01 14:26:16","update_time":"2017-11-01 14:26:16","province_name":"北京","city_name":"北京市","district_name":"东城区","start_name":"2017-09-04 17:32","end_name":"2017-09-04 17:32","apply_end_name":"2017-11-08 20:17"}},{"favorite_id":1344,"favorite_type":1,"target_id":1,"create_time":"2017-12-29 13:26:22","data":{"activity_id":1,"name":"年度盛典","cate_id":11,"community_id":2,"lng_lat":"116.39718599617481,39.90833718492366","start_time":1504518349,"end_time":1504518349,"ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"<p>发生的典范大速度发大水发沙发大师傅<img src=\"/yuanquan/upload/image/20171101/1509514176.jpg\" title=\"1509514176.jpg\" alt=\"u=1671483460,1872560812&amp;fm=173&amp;s=1EB6C704CAB6F6DCD7AA9005030020E9&amp;w=440&amp;h=368&amp;img.jpg\"/>发送到的点点滴滴多多多多多多所发<\/p>","province_id":2,"city_id":37,"district_id":403,"address":"地址","min_price":"0","orders":0,"type":0,"apply_end_time":1510143420,"create_time":"2017-09-04 17:32:35","update_time":"2017-09-04 17:34:15","province_name":"北京","city_name":"北京市","district_name":"东城区","start_name":"2017-09-04 17:45","end_name":"2017-09-04 17:45","apply_end_name":"2017-11-08 20:17"}},{"favorite_id":1343,"favorite_type":3,"target_id":24,"create_time":"2017-12-29 12:47:22","data":{"album_id":24,"user_id":1,"rank":"小肥肥","lng_lat":"39.90833718492366_116.39718599617481","images":"https://appdev.qigle.com/yuanquan/public/upload/20171229/31ee68062f93ce6d0ad57c7114275365.jpg","show_auth":0,"community_id":"2","status":1,"create_time":"2017-12-29 11:22:02","update_time":"2017-12-29 11:22:02","reply_count":2,"favorate_count":0,"dig_count":1}},{"favorite_id":1342,"favorite_type":3,"target_id":20,"create_time":"2017-12-28 13:54:12","data":{"album_id":20,"user_id":1,"rank":"ff","lng_lat":"39.90833718492366_116.39718599617481","images":"https://appdev.qigle.com/yuanquan/public/upload/20171227/4bb8a0463cb345e0f5a503c95c3aa5e0.jpg","show_auth":0,"community_id":"1","status":1,"create_time":"2017-12-27 19:40:52","update_time":"2017-12-27 19:40:52","reply_count":1,"favorate_count":0,"dig_count":1}},{"favorite_id":1341,"favorite_type":3,"target_id":22,"create_time":"2017-12-28 13:47:50","data":{"album_id":22,"user_id":1,"rank":"ff","lng_lat":"39.90833718492366_116.39718599617481","images":"https://appdev.qigle.com/yuanquan/public/upload/20171228/1fc4644d0084f4112171cce5920e035b.jpg,https://appdev.qigle.com/yuanquan/public/upload/20171228/c8563801661cd88947dbd271c3f71b59.jpg,https://appdev.qigle.com/yuanquan/public/upload/20171228/d91fc5b51e460ec4fca4e15c1a80559c.jpg,https://appdev.qigle.com/yuanquan/public/upload/20171228/c7d95b3806baf4b33e14f80e17e83970.jpg","show_auth":0,"community_id":"2","status":1,"create_time":"2017-12-28 00:24:26","update_time":"2017-12-28 00:24:26","reply_count":11,"favorate_count":0,"dig_count":1}},{"favorite_id":1340,"favorite_type":3,"target_id":21,"create_time":"2017-12-28 13:47:33","data":{"album_id":21,"user_id":1,"rank":"fff","lng_lat":"39.90833718492366_116.39718599617481","images":"https://appdev.qigle.com/yuanquan/public/upload/20171227/f279dde7757e9b5458e404d3ce5ef341.jpg,https://appdev.qigle.com/yuanquan/public/upload/20171227/72e4ade98632bc6c50f9fc1762fc1c37.jpg","show_auth":0,"community_id":"2","status":1,"create_time":"2017-12-27 19:43:07","update_time":"2017-12-27 19:43:07","reply_count":1,"favorate_count":0,"dig_count":1}},{"favorite_id":1339,"favorite_type":3,"target_id":19,"create_time":"2017-12-28 10:48:01","data":{"album_id":19,"user_id":2,"rank":"ff","lng_lat":"39.90833718492366_116.39718599617481","images":"https://appdev.qigle.com/yuanquan/public/upload/20171226/6b96c3c55352d101f439ee3eb63134ee.jpg","show_auth":0,"community_id":"2","status":1,"create_time":"2017-12-26 13:57:41","update_time":"2017-12-26 13:57:41","reply_count":7,"favorate_count":0,"dig_count":1}}]
     */

    private int code;
    private List<DataBeanX> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBeanX> getData() {
        return data;
    }

    public void setData(List<DataBeanX> data) {
        this.data = data;
    }

    public static class DataBeanX implements MultiItemEntity {
        /**
         * favorite_id : 1349
         * favorite_type : 2
         * target_id : 2
         * create_time : 2018-01-02 10:55:20
         * data : {"article_id":2,"cate_id":0,"community_id":1,"title":"标题2","head_url":"https://appdev.qigle.com/shunfengche/upload/201709/150485098282936.jpg","content":"<p>传<\/p>","status":1,"label":"社群,活动111111111","show":0,"comment":0,"orders":2,"create_time":"1970-01-01 08:00:00","update_time":"1970-01-01 08:00:00","type":1}
         */

        private int favorite_id;
        private int favorite_type;
        private int target_id;
        private String create_time;
        private DataBean data;


        public int getFavorite_id() {
            return favorite_id;
        }

        public void setFavorite_id(int favorite_id) {
            this.favorite_id = favorite_id;
        }

        public int getFavorite_type() {
            return favorite_type;
        }

        public void setFavorite_type(int favorite_type) {
            this.favorite_type = favorite_type;
        }

        public int getTarget_id() {
            return target_id;
        }

        public void setTarget_id(int target_id) {
            this.target_id = target_id;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        @Override
        public int getItemType() {
            return favorite_type;
        }

        public static class DataBean {
            /**
             * article_id : 2
             * cate_id : 0
             * community_id : 1
             * title : 标题2
             * head_url : https://appdev.qigle.com/shunfengche/upload/201709/150485098282936.jpg
             * content : <p>传</p>
             * status : 1
             * label : 社群,活动111111111
             * show : 0
             * comment : 0
             * orders : 2
             * create_time : 1970-01-01 08:00:00
             * update_time : 1970-01-01 08:00:00
             * type : 1
             */

            private int article_id;
            private String title;

            private String label;
            private int show;
            private int comment;


            private int activity_id;
            private String name;
            private int cate_id;
            private int start_time;
            private int end_time;
            private int ac_status;
            private String head_url;
            private String content;
            private int province_id;
            private int city_id;
            private int district_id;
            private String address;
            private String min_price;
            private int orders;
            private int type;
            private int apply_end_time;
            private String province_name;
            private String city_name;
            private String district_name;
            private String start_name;
            private String end_name;
            private String apply_end_name;

            private int album_id;
            private int user_id;
            private String rank;
            private String lng_lat;
            private String images;
            private int show_auth;
            private String community_id;
            private int status;
            private String create_time;
            private String update_time;
            private int reply_count;
            private int favorate_count;
            private int dig_count;
            private String community_name;
            private boolean isExpand = false;
            private int num;

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public boolean isExpand() {
                return isExpand;
            }

            public void setExpand(boolean expand) {
                isExpand = expand;
            }

            public String getCommunity_name() {
                return community_name;
            }

            public void setCommunity_name(String community_name) {
                this.community_name = community_name;
            }

            private AlbumaBean.DetailBean detail;


            public AlbumaBean.DetailBean getDetail() {
                return detail;
            }

            public void setDetail(AlbumaBean.DetailBean detail) {
                this.detail = detail;
            }



            public int getArticle_id() {
                return article_id;
            }

            public void setArticle_id(int article_id) {
                this.article_id = article_id;
            }

            public int getCate_id() {
                return cate_id;
            }

            public void setCate_id(int cate_id) {
                this.cate_id = cate_id;
            }

            public int getActivity_id() {
                return activity_id;
            }

            public void setActivity_id(int activity_id) {
                this.activity_id = activity_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getStart_time() {
                return start_time;
            }

            public void setStart_time(int start_time) {
                this.start_time = start_time;
            }

            public int getEnd_time() {
                return end_time;
            }

            public void setEnd_time(int end_time) {
                this.end_time = end_time;
            }

            public int getAc_status() {
                return ac_status;
            }

            public void setAc_status(int ac_status) {
                this.ac_status = ac_status;
            }

            public int getProvince_id() {
                return province_id;
            }

            public void setProvince_id(int province_id) {
                this.province_id = province_id;
            }

            public int getCity_id() {
                return city_id;
            }

            public void setCity_id(int city_id) {
                this.city_id = city_id;
            }

            public int getDistrict_id() {
                return district_id;
            }

            public void setDistrict_id(int district_id) {
                this.district_id = district_id;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getMin_price() {
                return min_price;
            }

            public void setMin_price(String min_price) {
                this.min_price = min_price;
            }

            public int getApply_end_time() {
                return apply_end_time;
            }

            public void setApply_end_time(int apply_end_time) {
                this.apply_end_time = apply_end_time;
            }

            public String getProvince_name() {
                return province_name;
            }

            public void setProvince_name(String province_name) {
                this.province_name = province_name;
            }

            public String getCity_name() {
                return city_name;
            }

            public void setCity_name(String city_name) {
                this.city_name = city_name;
            }

            public String getDistrict_name() {
                return district_name;
            }

            public void setDistrict_name(String district_name) {
                this.district_name = district_name;
            }

            public String getStart_name() {
                return start_name;
            }

            public void setStart_name(String start_name) {
                this.start_name = start_name;
            }

            public String getEnd_name() {
                return end_name;
            }

            public void setEnd_name(String end_name) {
                this.end_name = end_name;
            }

            public String getApply_end_name() {
                return apply_end_name;
            }

            public void setApply_end_name(String apply_end_name) {
                this.apply_end_name = apply_end_name;
            }

            public int getAlbum_id() {
                return album_id;
            }

            public void setAlbum_id(int album_id) {
                this.album_id = album_id;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public String getRank() {
                return rank;
            }

            public void setRank(String rank) {
                this.rank = rank;
            }

            public String getLng_lat() {
                return lng_lat;
            }

            public void setLng_lat(String lng_lat) {
                this.lng_lat = lng_lat;
            }

            public String getImages() {
                return images;
            }

            public void setImages(String images) {
                this.images = images;
            }

            public int getShow_auth() {
                return show_auth;
            }

            public void setShow_auth(int show_auth) {
                this.show_auth = show_auth;
            }

            public String getCommunity_id() {
                return community_id;
            }

            public void setCommunity_id(String community_id) {
                this.community_id = community_id;
            }

            public int getReply_count() {
                return reply_count;
            }

            public void setReply_count(int reply_count) {
                this.reply_count = reply_count;
            }

            public int getFavorate_count() {
                return favorate_count;
            }

            public void setFavorate_count(int favorate_count) {
                this.favorate_count = favorate_count;
            }

            public int getDig_count() {
                return dig_count;
            }

            public void setDig_count(int dig_count) {
                this.dig_count = dig_count;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getHead_url() {
                return head_url;
            }

            public void setHead_url(String head_url) {
                this.head_url = head_url;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getLabel() {
                return label;
            }

            public void setLabel(String label) {
                this.label = label;
            }

            public int getShow() {
                return show;
            }

            public void setShow(int show) {
                this.show = show;
            }

            public int getComment() {
                return comment;
            }

            public void setComment(int comment) {
                this.comment = comment;
            }

            public int getOrders() {
                return orders;
            }

            public void setOrders(int orders) {
                this.orders = orders;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(String update_time) {
                this.update_time = update_time;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
